<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>许愿墙</title>
	<script type="text/javascript" src='jquery.js'></script>
	<script type="text/javascript" src='js.js'></script>
	<link rel="stylesheet" href="css.css">
</head>
<body>	
	<div id="top"></div>
	<div class="bg">
		<a href="javascript:send();">我要许愿</a>
		<div id="send">	
			<form action="">
				<table border="1" width="300">
					<tr>
						<td>To</td>
						<td><input type="text" name="user"></td>
					</tr>
					<tr>
						<td>心愿</td>
						<td><textarea name="body" id="" cols="30" rows="10"></textarea></td>
					</tr>
					<tr>
						<td colspan="2"><input type="submit" value="许愿" style="color:#DF147F;"></td>
					</tr>
				</table>
			</form>
		</div>
		<div class="tag">
			<h4></h4>
			<p></p>
			<span></span>
		</div>
		<?php 
			$data=require 'db.php';
			$tag=json_encode($data);
			echo "<script>
			showAllTag($tag)
			</script>";
		 ?>
	</div>
		
		
</body>
</html>